From: Jan Djärv Date: Mon, 26 Jan 2004 23:39:30 +0000 (+0000) Subject: (sigchld_handler): Set synch_process_termsig X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24363 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2def17feceb777236ccb9af9f27a7cad8c271287;p=emacs.git (sigchld_handler): Set synch_process_termsig if terminated by a signal. synch_process_death setting removed. --- diff --git a/src/process.c b/src/process.c index fec6fdb2660..83f6df2d237 100644 --- a/src/process.c +++ b/src/process.c @@ -6212,18 +6212,7 @@ sigchld_handler (signo) if (WIFEXITED (w)) synch_process_retcode = WRETCODE (w); else if (WIFSIGNALED (w)) - { - int code = WTERMSIG (w); - char *signame; - - synchronize_system_messages_locale (); - signame = strsignal (code); - - if (signame == 0) - signame = "unknown"; - - synch_process_death = signame; - } + synch_process_termsig = WTERMSIG (w); /* Tell wait_reading_process_input that it needs to wake up and look around. */